-- GENERATED SPELL FOR [Rot Hide Gladerunner] --


function spell0_1772(pUnit, Event) --@Curse of Thule,Self--
pUnit:FullCastSpellOnTarget(3237,pUnit)
pUnit:RegisterEvent('Sorts_1772', 2000, 1)
end

function Sorts_1772(pUnit, Event)
local choix_sorts_1772 = math.random(0, 0)
if choix_sorts_1772 == 0 then
pUnit:RegisterEvent('spell0_1772', 1, 1)
end
end

function mob1772_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1772', math.random(1500, 3000), 1)
end

function mob1772_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1772_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1772_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1772, 1, 'mob1772_Action')
RegisterUnitEvent(1772, 2, 'mob1772_Leave')
RegisterUnitEvent(1772, 3, 'mob1772_Kill')
RegisterUnitEvent(1772, 4, 'mob1772_Die')
